﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace TwitterSimple
{
    [XmlType("user")]
    public class User
    {
        [XmlElement("id")]
        public string Id { get; set; }
        [XmlElement("name")]
        public string Name { get; set; }
        [XmlElement("screen_name")]
        public string ScreenName { get; set; }
        [XmlElement("location", IsNullable = true)]
        public string Location { get; set; }
        [XmlElement("description", IsNullable = true)]
        public string Description { get; set; }
        [XmlElement("profile_image_url", IsNullable = true)]
        public string ProfileImageUrl { get; set; }
        [XmlElement("protected")]
        public bool Protected { get; set; }
        [XmlElement("followers_count")]
        public int FollowersCount { get; set; }
        [XmlElement("profile_background_color", IsNullable = true)]
        public string ProfileBackgroundColor { get; set; }
        [XmlElement("profile_text_color", IsNullable = true)]
        public string ProfileTextColor { get; set; }
        [XmlElement("profile_link_color", IsNullable = true)]
        public string ProfileLinkColor { get; set; }
        [XmlElement("profile_sidebar_fill_color", IsNullable = true)]
        public string ProfileSidebarFillColor { get; set; }
        [XmlElement("profile_sidebar_border_color", IsNullable = true)]
        public string ProfileSidebarBorderColor { get; set; }
        [XmlElement("friends_count")]
        public int FriendsCount { get; set; }
        [XmlElement("created_at")]
        public string CreatedAt { get; set; }
        [XmlElement("favourites_count")]
        public int FavoritesCount { get; set; }
        [XmlElement("utc_offset")]
        public string UtcOffset { get; set; }
        [XmlElement("time_zone")]
        public string TimeZone { get; set; }
        [XmlElement("profile_background_image_url", IsNullable = true)]
        public string ProfileBackgroundImageUrl { get; set; }
        [XmlElement("profile_background_tile")]
        public bool ProfileBackgroundTile { get; set; }
        [XmlElement("statuses_count")]
        public int StatusesCount { get; set; }
        [XmlElement("verified")]
        public bool Verified { get; set; }
    }
}
